package com.ruoyi.system.service;

import com.ruoyi.common.core.domain.entity.SysEquipment;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author: 陈宇寰
 * @date: 2021-10-14 10:55:39
 * @params:
 * @return:
 * @description: 设备管理业务层
 */
public interface ISysEquipmentService {


    /**
     * @author: 陈宇寰
     * @date: 2021-10-14 10:37:15
     * @params:
     * @return:
     * @description: 新增设备
     */
    int addNewEquipment(SysEquipment s);

    /**
     * @author: 陈宇寰
     * @date: 2021-10-14 10:37:22
     * @params:
     * @return:
     * @description: 批量删除设备
     */
    int deleteEquipmentMultiByIds(@Param("ids") List<Long> ids);

    /**
     * @author: 陈宇寰
     * @date: 2021-10-14 10:37:29
     * @params:
     * @return:
     * @description: 修改设备
     */
    int updateEquipment(SysEquipment s);

    /**
     * @author: 陈宇寰
     * @date: 2021-10-14 10:37:34
     * @params:
     * @return:
     * @description: 查询设备记录
     */
    List<SysEquipment> records(SysEquipment s);
}
